package com.tucy.logistics.common.dto.vehicle;

import com.tucy.logistics.common.base.BasePageQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * author: tcy
 * createDate: 2023/10/16
 * description: 查询车辆
 */
@Data
public class QueryVehicleDto extends BasePageQuery {

    @Size(max= 40,message="编码长度不能超过40")
    @ApiModelProperty("车牌号")
    @Length(max= 40,message="编码长度不能超过40")
    private String vehicleNumber;

    @ApiModelProperty("车型系统编号")
    private Long vehicleTypeId;

    @Size(max= 40,message="编码长度不能超过40")
    @ApiModelProperty("车型名称")
    @Length(max= 40,message="编码长度不能超过40")
    private String vehicleTypeName;

    @Size(max= 40,message="编码长度不能超过40")
    @ApiModelProperty("车型编码")
    @Length(max= 40,message="编码长度不能超过40")
    private String vehicleCode;

    @Size(max= 40,message="编码长度不能超过40")
    @ApiModelProperty("品牌logo")
    @Length(max= 40,message="编码长度不能超过40")
    private String vehicleLogo;
}
